package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeEvalutionExpert;
import com.bidevalution.dao.entity.BeEvalutionOutcome;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BeEvalutionOutcomeMapper {
    int deleteByPrimaryKey(String seqId);

    int insert(BeEvalutionOutcome record);

    int insertSelective(BeEvalutionOutcome record);

    BeEvalutionOutcome selectByPrimaryKey(String seqId);

    int updateByPrimaryKeySelective(BeEvalutionOutcome record);

    int updateByPrimaryKey(BeEvalutionOutcome record);

    int selectCount(@Param("sectionStepId") String sectionStepId, @Param("expertId") String expertId, @Param("layoutCode") String layoutCode);
    
    List<BeEvalutionOutcome> selectListByStepId(@Param("sectionStepId") String sectionStepId);
    
    void deleteBySectionId(String sectionId);

    /**
     * 软删除专家评审数据
     * @param record
     * @return
     */
    int updateStatusByCode(BeEvalutionOutcome record);
    int updateStatusByCodeAlt(BeEvalutionOutcome record);
}